package com.training.java.core.mutability;

public class CarDemo {

	public static void main(String[] args) {
		
		Car Ford = new Car();
		
		Ford.setColor("Black");
		Ford.setModel("Xe");
		Ford.setVinnumber("Abc123");
		Ford.setSpeed(50);
		Ford.setGear(2);
		
		System.out.println("Color Is = "+ Ford.getColor());
		System.out.println("Model Is = "+ Ford.getModel());
		System.out.println("VinNumber Is = "+ Ford.getVinnumber());
		System.out.println("Current Speed Is = "+ Ford.getSpeed());
		System.out.println("Current Gear = "+ Ford.getGear());
		
		Ford.accelerate(80);
		Ford.Changegear(3);
		Ford.applybreak();
	}

}
